package com.xf.lastmall.moudle.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单发券失败处理表
 * </p>
 *
 * @author dwj
 * @since 2019-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity(name = "tb_order_release_coupon_fail")
public class OrderReleaseCouponFail implements Serializable {


    /**
     * id
     */
    @Id
    @GeneratedValue
    private String id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 子订单编号，（套餐的时候其中的团购券子订单采用逗号分隔保存在此字段中）
     */
    private String orderSubNo;

    /**
     * 状态(0-未处理，1-处理成功)
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateBy;

    public static final String ID = "id";

    public static final String ORDER_NO = "order_no";

    public static final String ORDER_SUB_NO = "order_sub_no";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_BY = "update_by";


}
